<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="jsp_header.jsp"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
#contentdiv{
width: 100%;

}
</style>
<link type="text/css" rel="stylesheet"
	href="/resources/common/common.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<jsp:include page="main_header.jsp"></jsp:include><br>
	<div id="container">

		<div id="contentdiv">

			<div class="title" >
				<h2 class="mg00">Product List</h2>
			</div>
			<div class="list_remove" style="height: 589px;">
				<ul class="item_list">
					<c:forEach items="${productList}" var="item">
						<li class="item">
							<div>
								<a href="/product/ProductDetail?no=${item.NO}"><img
									width="215" height="255" src="/resources/image/${item.IMAGE}"></a>
							</div>
							<div align="center">${item.NAME}</div>
							<div align="center">
								<c:if test="${item.ICON_NEW!=null}">
									<img src="/resources/image/i_new.gif">
								</c:if>
								<c:if test="${item.ICON_HIT!=null}">
									<img src="/resources/image/i_hit.gif">
								</c:if>
								<c:if test="${item.ICON_SALE!=null}">
									<img src="/resources/image/i_sale.gif">
								</c:if>
							</div>
							<div align="center">
								<fmt:formatNumber value="${item.PRICE}" type="currency" />
							</div>
						</li>
					</c:forEach>
				</ul>
			</div>
			
			
		</div>

	</div>
	<jsp:include page="main_bottom.jsp"></jsp:include><br>
</body>
</html>